<?php

namespace App\Model\Marketing;

use Illuminate\Database\Eloquent\Model;

class Post extends Model
{

    const DISABLE = 0;
    const UNPUBLISH = 1;
    const PUBLISH = 2;

    # 数据表
    protected $table = 'marketing_posts';

    # PK
    protected $primaryKey = 'id';

    # fillable fields
    protected $fillable = [
        'title',
        'body',
        'cover',
        'resourse',
        'description'
    ];

}
